
#ifndef _ST_RPG_H_
#define _ST_RPG_H_

#define ST_OBJINFO_NAME_SIZE    32
struct _st_object_info{
    st_uint32       id;
    st_uint8        name[ST_OBJINFO_NAME_SIZE];
    st_vertex_3d    position;
    st_vertex_3d    velocity;
    st_vertex_3d    volume;

    st_callback     on_moving;
    st_callback     on_stand;

    st_graphic      graphic;
};
typedef struct _st_object_info st_object_info;

extern st_state st_object_Create(struct _st_object_info* obj, 
                          const st_uint8* name,
                          const struct _st_vertex_3d* pos,
                          const struct _st_vertex_3d* vel,
                          const st_uint8* imgfile);
extern st_state st_object_Free(struct _st_object_info* obj);

#endif

